package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.dto.attendrule.AttendRuleLocationAddDTO;
import org.jsola.hr.dto.attendrule.AttendRulePunchTimeAddDTO;
import org.jsola.hr.dto.attendrule.AttendRuleWifiAddDTO;

import java.util.List;

import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.AttendanceDedExample.E_PROGRAMME_ID;
import static org.jsola.hr.example.AttendanceDedExample.N_PROGRAMME_ID;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【考勤规则】列表展示对象")
@Data
public class AttendRuleListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    /** 规则名称 */
    @ApiModelProperty(notes = "规则名称", example = "")
    private String planName;

    /** 打卡时间 */
    @ApiModelProperty(notes = "打卡时间", example = "")
    private List<AttendRulePunchTimeAddDTO> punchTimeList;

    /** 打卡地点-位置*/
    @ApiModelProperty(notes = "打卡地点-位置", example = "")
    private List<AttendRuleLocationAddDTO> locationList;

    /** 打卡地点-wifi */
    @ApiModelProperty(notes = "打卡地点-wifi", example = "")
    private List<AttendRuleWifiAddDTO> wifiList;


}
